package com.zrwl.poscloud.xo.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.commons.vo.BaseVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 事件评论 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-03-17
 */
@Data
public class CommentVO extends BaseVO<CommentVO> {
    private static final long serialVersionUID = 1L;


    private String rootUid;

    private  int rootType;


    private String content;

    private String file;

    private int type;


    private int score;

    private int fromType;

    private String adminUid;

    private String employeeUid;

    private String userUid;

    private  String summary;

    private String operateAdminUid;

    private String commentUid;

    private String nickName;

    private String name;

    private String uname;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deathTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    private String rootCommentUid;

    private int commentCount;

    private String commentName;
}
